package com.xjlsoft.weather.contant;

/**
 * 公共常量类
 *
 * @author
 */
public class Constants {
    /**
     * 前端传回token
     */
    public static final String ACCESS_TOKEN = "accessToken";
    /**
     * 结果返回码
     */
    public static final String RESULT_CODE = "code";
    /**
     * 结果返回信息
     */
    public static final String RESULT_MSG = "msg";
    /**
     * 结果
     */
    public static final String RESULT_DATA = "data";
    /**
     * 结果
     */
    public static final String RESULT_SUCCESS = "success";
    /**
     * token信息存放redis key值前缀
     */
    public static final String LOGIN_TOKEN_KEY = "LOGIN_USER_KEY";
    /**
     * token 过期时间
     */
    public static final int LOGIN_TOKEN_INVALID_TIME_SECOND = 1 * 60 * 30;
    /**
     * 日志信息停留时间
     */
    public static final int LOGIN_OPERATION_RESULTS_TIME = 60 * 5;

    /**
     * 账号
     */
    public static final String MODULE_CODE_ACCOUNT = "001";

    /**
     * 图片
     */
    public static final String MODULE_CODE_PICTURE = "002";
    /**
     * 汇款
     */
    public static final String REMITTANCE_ACCOUNT_CODE_ = "003";


    /**
     * 当前数据库
     */
    public static final String CURENT_DATABASE_TYPE = "ORACLE";
    public static final String DATABASE_TYPE_ORACLE = "ORACLE";
    public static final String DATABASE_TYPE_MYSQL = "MYSQL";
}
